package com.xkcoding.task.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class BackDataDto {

    @JsonProperty("ver")
    private String ver;
    @JsonProperty("tranType")
    private String tranType;
    @JsonProperty("tranNO")
    private String tranNO;
    @JsonProperty("sendTime")
    private String sendTime;
    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("equipmentId")
        private String equipmentId;
        @JsonProperty("message")
        private String message;
    }
}
